#pragma GCC optimize(2)
#include <bits/stdc++.h>

using namespace std;
#define int long long
const int inf = 0x3f3f3f3f3f3f3f3f;

void solve()
{
    int a, b, c, d;
    cin >> a >> b >> c >> d;
    int r = c - a;
    int k = d - b;
    if (r < 0 || k < 0)
    {
        cout << "NO" << endl;
        return;
    }
    if (!(a > 2 * (b + 1) || b > 2 * (a + 1)) && !(r > 2 * (k + 1) || k > 2 * (r + 1))) cout << "YES" << endl;
    else cout << "NO" << endl;
}

signed main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);
    int _ = 1;
    cin >> _;
    while (_--)
    {
        solve();
    }
    return 0;
}